#ifndef __RSRCBANK_H__
#define __RSRCBANK_H__

#include "Resource.h"
#include <vector>

class ResourceBank
{
protected:
	std::vector<Resource*> m_Database;
private:
	int Insert(Resource* element, int index);
public:
	ResourceBank();
	~ResourceBank();
	int Add(Resource* element);
	int Remove(int index);
	Resource* Reference(int index);
	void Dereference(int index);
};

#endif